home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
daten
/
ispell
/
source
/
addons
/
nextispell
/
makefile
< prev
next >
Wrap
Makefile
|
1995-01-23
|
850b
|
36 lines
#
# Makefile for nextispell.
#
# Created by Moritz Willers.
#
# 4. Januar 1994
# Version 0.2
#
NAME = nextispell
INSTALLDIR = ${HOME}/Library
CFLAGS = -O -Wall
all: ${NAME}
rm -rf ${NAME}.service
mkdir ${NAME}.service
mv ${NAME} ${NAME}.service/
if [ -f services ]; then touch services; else cp services.template services; fi
mv services ${NAME}.service/
strip ${NAME}.service/${NAME}
${NAME}: nextispell.m
if [ -f configure.h ]; then touch configure.h; else cp configure.h.template configure.h; fi
cc ${CFLAGS} -o ${NAME} nextispell.m -lNeXT_s
rm -f configure.h
install: all
if [ -d $(INSTALLDIR)/Services/${NAME}.service ]; then rm -Rf $(INSTALLDIR)/Services/${NAME}.service/; fi
cp -r ${NAME}.service $(INSTALLDIR)/Services/
rm -Rf ${NAME}.service
echo "Don't forget to execute: make_services"
clean:
rm -Rf ${NAME}.service